package com.hxkcloud.nurse.viewholders;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.hxkcloud.nurse.R;

/**
 * Created by william_sun on 2016-07-14.
 * Description: 检查报告viewholder
 */
public class InspectionReportViewholder extends RecyclerView.ViewHolder {
    public TextView tv_name;
    public TextView tv_date;
    public TextView tv_words;
    public LinearLayout ll_images;
    public ImageView iv1;
    public ImageView iv2;
    public ImageView iv3;
    public ImageView iv4;
    public ImageView iv5;
    public ImageView iv6;
    public ImageView iv7;
    public ImageView iv8;
    public ImageView iv9;
    public LinearLayout ll_voice;
    public ImageView iv_voice;
    public TextView tv_voice;

    public LinearLayout ll_name;

    public InspectionReportViewholder(View itemView) {
        super(itemView);

        tv_name = (TextView) itemView.findViewById(R.id.tv_inspectionreport_name);
        tv_date = (TextView) itemView.findViewById(R.id.tv_inspectionreport_date);
        tv_words = (TextView) itemView.findViewById(R.id.tv_inspectionreport_words);
        ll_images = (LinearLayout) itemView.findViewById(R.id.ll_inspectionreport_images);
        iv1 = (ImageView) itemView.findViewById(R.id.iv_inspectionreport_img1);
        iv2 = (ImageView) itemView.findViewById(R.id.iv_inspectionreport_img2);
        iv3 = (ImageView) itemView.findViewById(R.id.iv_inspectionreport_img3);
        iv4 = (ImageView) itemView.findViewById(R.id.iv_inspectionreport_img4);
        iv5 = (ImageView) itemView.findViewById(R.id.iv_inspectionreport_img5);
        iv6 = (ImageView) itemView.findViewById(R.id.iv_inspectionreport_img6);
        iv7 = (ImageView) itemView.findViewById(R.id.iv_inspectionreport_img7);
        iv8 = (ImageView) itemView.findViewById(R.id.iv_inspectionreport_img8);
        iv9 = (ImageView) itemView.findViewById(R.id.iv_inspectionreport_img9);
        ll_voice = (LinearLayout) itemView.findViewById(R.id.ll_inspectionreport_voice);
        iv_voice = (ImageView) itemView.findViewById(R.id.iv_inspectionreport_voice);
        tv_voice = (TextView) itemView.findViewById(R.id.tv_inspectionreport_voice);
        ll_name = (LinearLayout) itemView.findViewById(R.id.ll_inspectionreport_name);
    }
}